package com.baizw.cultivation.module.flowable.listener;

import lombok.extern.slf4j.Slf4j;
import org.flowable.common.engine.api.delegate.event.FlowableEngineEntityEvent;
import org.flowable.engine.delegate.event.AbstractFlowableEngineEventListener;
import org.springframework.stereotype.Component;

/**
 * Flowable全局监听器
 *
 * @author 剧终1204
 * @version V1.0
 * @date 2020年10月14日 15:14
 */
@Slf4j
@Component
public class GlobalListener extends AbstractFlowableEngineEventListener {

    @Override
    protected void taskCompleted(FlowableEngineEntityEvent event) {
        log.info("警方案件任务已完成");
        super.taskCompleted(event);
    }
}
